About the Moves Memory Icon
About the Moves Memory Icon
The following icon appears at the top of many of the pages describing traps.
This indicates that the trap may move or purge memory. You should be
careful to lock handles when using traps, since any relocatable block
may move during the execution of that routine. See Handle for more
information. Traps that move or purge memory should not be called from
interrupt routines.
Warning: Apple has not completely documented the set of traps that may
move or purge memory. There are several traps (such as LNew
and OpenRF) that are known to move memory, although Apple
does not document them that way. There is an icon on all pages that
are known to move memory, whether Apple has documented this
fact or not. If a trap seems as though it is moving memory, it may
very well be, even if no "moves memory" icon appears on its page.
Apple reserves the right to reclassify any trap, so even traps that
are not marked with might be in the future.